package exemple.DesignExample.model;

import exemple.DesignExample.dao.EntityDao;
import exemple.DesignExample.entities.id.EntityId;
import exemple.DesignExample.entities.id.Id;

public abstract class Entity<ID extends Id> implements EntityId<ID>, EntityDao {
    private static final long serialVersionUID = -2867751136894417694L;
    
    ID entitiyId;

    @Override
    public ID getEntityId() { return this.entitiyId; }
    @Override
    public void setEntityId( ID entityId ) { this.entitiyId = entityId; }

    public abstract Family getFamily();
}
